package com.everydayflash.cart.core {
	import flash.geom.Vector3D;	

	/**
	 * @author bartekd
	 */
	public class Pixel3D extends Vector3D {
		
		public var color:uint;
		
		public var velX:Number;
		public var velY:Number;
		
		public function Pixel3D(x:Number = 0.0, y:Number = 0.0, z:Number = 0.0, w:Number = 0.0, c:uint=0xffffff) {
			super(x, y, z, w);
			color = c;
		}
		
		public function update(v:Vector3D):void {
			x = v.x;
			y = v.y;
			z = v.z;
			w = v.w;
		}
	}
}
